import {
  get,
  post,
  //postForm,
  del,
} from "@/utils/http";
const packageName = `/admin`;
import { toQuery } from "@/utils/util";

/**
 * 织物明细
 */
// 获取工服上架记录
export function doctorClothActionShelveList(pages, params) {
  return post(`${packageName}/doctorClothActionShelveList` + toQuery(pages), params);
}
// 获取工服上架详情
export function doctorClothActionShelveInfo(params) {
  return post(`${packageName}/doctorClothActionShelveInfo`, params);
}
// 获取工服领用记录
export function doctorClothActionReceiveList(pages, params) {
  return post(`${packageName}/doctorClothActionReceiveList` + toQuery(pages), params);
}
// 获取工服领用详情
export function doctorClothActionReceiveInfo(params) {
  return post(`${packageName}/doctorClothActionReceiveInfo`, params);
}
// 获取工服归还记录
export function doctorClothActionReturnList(pages, params) {
  return post(`${packageName}/doctorClothActionReturnList` + toQuery(pages), params);
}
// 获取工服归还详情
export function doctorClothActionReturnInfo(params) {
  return post(`${packageName}/doctorClothActionReturnInfo`, params);
}
// 获取工服回收记录
export function doctorClothActionRecycleList(pages, params) {
  return post(`${packageName}/doctorClothActionRecycleList` + toQuery(pages), params);
}
// 获取工服回收详情
export function doctorClothActionRecycleInfo(params) {
  return post(`${packageName}/doctorClothActionRecycleInfo`, params);
}
// 获取被服上架记录
export function patientClothActionShelveList(pages, params) {
  return post(`${packageName}/patientClothActionShelveList` + toQuery(pages), params);
}
// 获取被服上架详情
export function patientClothActionShelveInfo(params) {
  return post(`${packageName}/patientClothActionShelveInfo`, params);
}
// 获取被服领用记录
export function patientClothActionReceiveList(pages, params) {
  return post(`${packageName}/patientClothActionReceiveList` + toQuery(pages), params);
}
// 获取被服领用详情
export function patientClothActionReceiveInfo(params) {
  return post(`${packageName}/patientClothActionReceiveInfo`, params);
}
// 获取被服归还记录
export function patientClothActionReturnList(pages, params) {
  return post(`${packageName}/patientClothActionReturnList` + toQuery(pages), params);
}
// 获取被服归还详情
export function patientClothActionReturnInfo(params) {
  return post(`${packageName}/patientClothActionReturnInfo`, params);
}
// 获取被服回收记录
export function patientClothActionRecycleList(pages, params) {
  return post(`${packageName}/patientClothActionRecycleList` + toQuery(pages), params);
}
// 获取被服回收详情
export function patientClothActionRecycleInfo(params) {
  return post(`${packageName}/patientClothActionRecycleInfo`, params);
}
// 获取脏衣送洗记录
export function clothActionWashList(pages, params) {
  return post(`${packageName}/clothActionWashList` + toQuery(pages), params);
}
// 获取脏衣送洗详情
export function clothActionWashInfo(params) {
  return post(`${packageName}/clothActionWashInfo`, params);
}
// 获取洁衣入库记录
export function clothActionInboundList(pages, params) {
  return post(`${packageName}/clothActionInboundList` + toQuery(pages), params);
}
// 获取洁衣入库详情
export function clothActionInboundInfo(params) {
  return post(`${packageName}/clothActionInboundInfo`, params);
}
// 获取疑似丢失织物列表
export function lossClothList(pages, params) {
  return post(`${packageName}/lossClothList` + toQuery(pages), params);
}
